package com.woniuxy.service;

import com.woniuxy.entity.User;
import com.woniuxy.entity.dto.OrderParamDTO;
import com.woniuxy.util.ResponseData;

import java.text.ParseException;

/**
 * @author dingpf
 * @version 1.0
 * @description
 * @create 2025/4/27 9:50
 */
public interface OrderService {

    /**
     * 业务复杂的接口，可以同一返回类
     * ? ：泛型一种，占位符
     * T
     * V
     * K
     * E
     */
    ResponseData<?> addOrder(OrderParamDTO orderParamDTO) throws InterruptedException, ParseException;

}
